package com.gdkj.entity.live;

import com.gdkj.util.ExcelColumn;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "cmf_challenge_card_present_record")
@Data
public class ChallengeCardPresentRecord {

    @ApiModelProperty(value = "ID")
    @Id
    @ExcelColumn(value = "ID", col = 1)
    private Integer id;

    @ApiModelProperty(value = "管理员")
    private Integer adminUid;

    @ApiModelProperty(value = "用户id")
    @ExcelColumn(value = "用户id", col = 5)
    private Integer uid;

    @ApiModelProperty(value = "赠送数量")
    @ExcelColumn(value = "赠送数量", col = 6)
    private Integer amount;

    @ApiModelProperty(value = "剩余数量")
    @ExcelColumn(value = "剩余数量", col = 8)
    private Integer remainAmount;

    @ApiModelProperty(value = "IP")
    @ExcelColumn(value = "IP", col = 9)
    private String ip;

    @ApiModelProperty(value = "原因")
    @ExcelColumn(value = "原因", col = 7)
    private String reason;

    @ApiModelProperty(value = "赠送类型 1 手动赠送 2 vip赠送")
    private Integer type;

    @ApiModelProperty(value = "VIP等级")
    private Integer vipLevel;

    @ApiModelProperty("时间")
    @ExcelColumn(value = "时间", col = 10)
    private Date createTime;
}
